/*
 * Killocan 2013
 * http://killocan.blogspot.com
*/

#pragma once

#include <allegro.h>
#include <string>

#include "almp3.h"

class SceneSoundManager
{
  public:
    SceneSoundManager(const std::string & fileName);
    ~SceneSoundManager();

  	void play(int soundId, bool loop = false);
    bool isPlaying();
  	void stopAll();
  	void stopSample(int soundId);

    DATAFILE  * data;
    ALMP3_MP3 * mp3_handle;
    unsigned char * mp3_data;
    bool curDataOk;
};
